# -*- encoding: utf-8 -*-
"""
Copyright (c) 2019 - present AppSeed.us
"""

from django.urls import path
from .views import *
from django.contrib.auth.views import LogoutView

urlpatterns = [
    path('login/', login_view, name="login"),
    path('register/', register_user, name="register"),
    path("logout/", LogoutView.as_view(), name="logout"),

    path("createmodelgroup/<str:model_id>/", create_mg_view, name="create_model_group"),
    path("createinstancegroup/<str:instance_id>", create_ig_view, name="create_instance_group"),

    path("group/", group_list_view, name="group_list"),
    path("prof_group/", prof_group_list_view, name="prof_group_list"),
    path("subject_group/", subject_group_list_view, name="subject_group_list"),

    path("group/<str:group_id>", group_detail_view, name="group_detail"),  # 查看组成员，添加组成员
]

